/*
 * Escalera.h
 *
 *  Created on: 23/04/2013
 *      Author: juan
 */

#ifndef ESCALERA_H_
#define ESCALERA_H_

#include "Figure.h"
#include "Cube.h"
#include <list>

using namespace std;

class Escalera: public Figure {
private:
	void create_components(GLuint  program);
	list<Cube*>* escalones;
	Cube* primerEscalon,*ultimoEscalon;

public:
	Escalera(GLuint program);
	virtual ~Escalera();
	virtual void draw(GLuint program, glm::mat4 & world_matrix);

	virtual void set_texture_id(GLuint id);
};

#endif /* ESCALERA_H_ */
